package com.neuedu.yyzx.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.neuedu.yyzx.po.Food;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author HordEmpty
 * @description 针对表【food】的数据库操作Service
 * @createDate 2025-04-09 10:13:49
 */
public interface FoodService extends IService<Food> {
//    List<Food> listFoods(Integer isHalal, String foodName);

    List<Food> listFoods(Integer isHalal, String foodName);

    /**
     * 查询所有食品信息，支持按 is_halal 和 food_name 筛选
     */
    Page<Food> listFoods(Page page , Integer isHalal, String foodName);
}
